package factory.one.pojo.common;

/**
 * @author sk.z
 * 2023/8/29
 * 查询条件
 **/
public class SqlCondition {

    private String sqlDesc;
    private Object value;
    private int valueType; //java.sql.Types

    public SqlCondition(String desc, Object value, int valueType){
        this.sqlDesc = desc;
        this.value = value;
        this.valueType = valueType;
    }

    public String getSqlDesc() {
        return sqlDesc;
    }

    public void setSqlDesc(String sqlDesc) {
        this.sqlDesc = sqlDesc;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public int getValueType() {
        return valueType;
    }

    public void setValueType(int valueType) {
        this.valueType = valueType;
    }
}
